//#include <iostream>
//#include <stdexcept>
//double divideNumbers(double  inNumerator, double inDeonminator)
//{
//	if (inDeonminator == 0)
//		throw  std::exception();
//	return inNumerator / inDeonminator;
//}
//
//int main()
//{
//	try {
//		std::cout << divideNumbers(2.5, 0.5) << std::endl;
//		std::cout << divideNumbers(2.5, 0) << std::endl;
//	}
//	catch (const std::exception& exception) {
//		std::cout << "An exception was caught!" << std::endl;
//	}
//}